package com.hrms.dao;

import com.hrms.pojo.PersonnelTransfer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hrms.pojo.UserRoleRef;

import java.util.List;

/**
 * <p>
 * 人事调动表 Mapper 接口
 * </p>
 *
 * @author LK
 * @since 2021-10-19
 */
public interface PersonnelTransferMapper extends BaseMapper<PersonnelTransfer> {

    List<String> selectRoleListByDept(String  dept);

    int deleteByStaffId(Integer a);

    //根据员工编号查询用户Id和角色Id
    UserRoleRef selectUserIdAndRoleId(int staffId);

}
